from BeautifulReport import BeautifulReport

from polianxi.Page import Page
from selenium import webdriver
from time import sleep
import unittest
import logging
class Testcase(unittest.TestCase):
    logging.info('测试固件')
    def setUp(self):
        self.driver = webdriver.Edge()
    logging.info('结束')
    def tearDown(self):
        sleep(10)
        self.driver.quit()
    logging.info('登录测试')
    def test_001_login(self):
        po = Page(self.driver)
        po.a3mall()
    logging.info('测试结束')
